package cn.elead.it.sso.system.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.elead.model.CommonModel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@SuppressWarnings("serial")
@TableName("E_SSO_CLIENT")
@ApiModel("单点客户端信息")
public class Client extends CommonModel {

	/** 客户端ID */
	@ApiModelProperty(value = "客户端ID", name = "clientId", example = "client_management", required = true)
	private String clientId;
	/** 客户端名称 */
	@ApiModelProperty(value = "客户端名称", name = "clientName", example = "易起学在线教育平台", required = true)
	private String clientName;
	/** 客户端秘钥 */
	@ApiModelProperty(value = "客户端秘钥", hidden = true)
	private String clientSecret;
	/** 客户端访问地址 */
	@ApiModelProperty(value = "客户端访问地址", name = "clientUrl", example = "^(http|https)://.*", required = true)
	private String clientUrl;
	/** 客户端登录地址 */
	@ApiModelProperty(value = "客户端登录地址", name = "logoUrl", example = "http://elead.eatuo.com:8088/#/", required = true)
	private String logoUrl;
	/** 客户端描述 */
	@ApiModelProperty(value = "户端描述", name = "clientDesc", example = "易起学在线教育平台", required = true)
	private String clientDesc;
	/** 客户端备注 */
	@ApiModelProperty(value = "客户端备注", hidden = true)
	private String clientRemark;
	/** 状态 */
	@ApiModelProperty(value = "状态", hidden = true)
	private Integer status;
}
